package com.kelvin.retrofitrxdemo;

import java.util.Date;
import java.util.List;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by MCK on 2017/4/20.
 */

public interface FutureStudioClient {
    @GET("/tutorials")
    Call<List<Tutorial>> getTutorials(
            @Query("page") Integer page
    );

    @GET("/tutorials")
    Call<List<Tutorial>> getTutorials(
            @Query("page") Integer page,
            @Query("order") String order,
            @Query("author") String author,
            @Query("published_at") Date date
    );
}
